package com.ebo.synframework.nettybase.protoPool;


public interface BlockingProtoBuilderPool {
	
	/**
	 * 获取封装过的Builder
	 * @return 池中可用的Builder
	 */
	public ReusedProtoBuilder get();
	
	/**
	 * 释放Builder到池中
	 * 注：释放前需要将Builder的各个属性值恢复成默认
	 * @param builder
	 */
	public void release(ReusedProtoBuilder builder);
}
